package com.konke.sdslibrary.event;

/**
 * 灯光、插座类设备开、关
 */
public class DeviceSwitchEvent extends RoomDeviceStatusEvent {

    public DeviceSwitchEvent(String ccuId, int deviceId, int roomId) {
        super(ccuId,deviceId,roomId);
    }

    private boolean on;
    private boolean lightOn;
    private boolean load;

    public boolean isOn() {
        return on;
    }

    public void setOn(boolean on) {
        this.on = on;
    }

    public boolean isLightOn() {
        return lightOn;
    }

    public void setLightOn(boolean lightOn) {
        this.lightOn = lightOn;
    }

    public boolean isLoad() {
        return load;
    }

    public void setLoad(boolean load) {
        this.load = load;
    }
}
